const Cookie = process.browser ? require('js-cookie') : undefined

let state = {
  count: 1,
  isShowComment: false, //控制是否拉起评论
  isShowCommNum: true,  //控制评论里的数字显示哪个
  eareCode: null,  //号码区号
  phoneNumber: '', //手机号码cookie.getCookie('phoneNumber1') ||
  sid: null, //sid == token
  user: null, //我的信息
  rippleData: null, //选择的ripple
  commentList: null, //评论列表
  discoverData: null, //discover列表
  raindropList: null, //raindrop列表
  isAdd: 1, //控制add页面展示
}
export default state
